package com.zpb.framework.domain.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @Description:
 * @Author: zhaopengbo
 * @Date: 2025/9/13
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("comment")
public class CommentDto implements Serializable {
    private static final long serialVersionUID = 598471046288720433L;

    /**
     * 文章id
     */
    private Long articleId;
    /**
     * 评论类型
     */
    private String type;
    /**
     * 根评论id
     */
    private Long rootId;
    /**
     * 评论内容
     */
    private String content;
    /**
     * 所回复的目标评论的userid
     */
    private Long toCommentUserId;
    /**
     * 回复目标评论id
     */
    private Long toCommentId;
    private Long createBy;
    private Date createTime;
}
